package com.xjx.account.api.feign;

import com.xjx.account.api.dto.UserDTO;
import com.xjx.common.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * * @Author xujunxia
 * * @Date 2024-09-21 17:16
 * * @Description TODO
 **/
@FeignClient(value = "tool-account",path = "/account")
public interface UserServiceFacade {

    @GetMapping("/{userId}")
    JsonData findUserByUserId(@PathVariable("userId") String userId);
}
